:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --danger-color: #e74c3c;
  --warning-color: #f39c12;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --border-radius: 10px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 15px;
}

/* 标题样式 */
.app-title {
  text-align: center;
  margin-bottom: 30px;
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
}

.app-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

/* 卡片样式 */
.card {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 25px;
  border: none;
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.card-header {
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 600;
  padding: 15px 20px;
  display: flex;
  align-items: center;
}

.card-header i {
  margin-right: 10px;
  color: var(--primary-color);
}

.card-body {
  padding: 20px;
  background-color: #fff;
}

/* 上传区域样式 */
.upload-area {
  border: 2px dashed #ddd;
  border-radius: var(--border-radius);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background-color: rgba(52, 152, 219, 0.05);
}

.upload-area:hover {
  border-color: var(--primary-color);
  background-color: rgba(52, 152, 219, 0.1);
}

.upload-area.drag-over {
  border-color: var(--primary-color);
  background-color: rgba(52, 152, 219, 0.15);
}

/* 通知样式 */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notification {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 15px;
  display: flex;
  align-items: flex-start;
  width: 300px;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.notification.success {
  border-left: 4px solid var(--secondary-color);
}

.notification.error {
  border-left: 4px solid var(--danger-color);
}

.notification.info {
  border-left: 4px solid var(--primary-color);
}

.notification.warning {
  border-left: 4px solid var(--warning-color);
}

.notification i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.notification.success i {
  color: var(--secondary-color);
}

.notification.error i {
  color: var(--danger-color);
}

.notification.info i {
  color: var(--primary-color);
}

.notification.warning i {
  color: var(--warning-color);
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-weight: 600;
  margin-bottom: 5px;
}

.notification-message {
  font-size: 0.9rem;
  color: #666;
}

.notification-close {
  cursor: pointer;
  padding: 5px;
  margin-left: 10px;
}

/* 动画 */
.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

.slide-out {
  animation: slideOut 0.3s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(50px);
  }
}